﻿using Microsoft.Web.WebPages.OAuth;

namespace CloudFranceTriple.WebRole
{
    public static class AuthConfig
    {
        public static void RegisterAuth()
        {
            // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
            // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166

            OAuthWebSecurity.RegisterMicrosoftClient(
                clientId: "00000000440FB532",
                clientSecret: "PAdhimttroYITt3PaiMVWVQlENkcVgVn");

            OAuthWebSecurity.RegisterGoogleClient();

            OAuthWebSecurity.RegisterFacebookClient(
                appId: "538027429578779",
                appSecret: "603bce1820ebefc2de00b65cf79fd532");

            OAuthWebSecurity.RegisterTwitterClient(
                consumerKey: "Snpl7WPf7EWfs20y4EsdA",
                consumerSecret: "FX0fDY0GjfrE7evQN2uMW6qMb3TMOhKNMFWNxDipo4");
        }
    }
}
